Skip to content

Cinder volume ha rework#828

Open
dirkmueller wants to merge 1 commit intocrowbar:masterfrom
dirkmueller:cinder_volume_ha_rework
Open

Cinder volume ha rework#828
dirkmueller wants to merge 1 commit intocrowbar:masterfrom
dirkmueller:cinder_volume_ha_rework

Conversation

@dirkmueller
Copy link
Contributor

No description provided.

The previous implementation was error prone as it triggered a deprecated
config option warning unnecessarily. Luckily 3 years ago a proper
solution was implemented in OpenStack for being able to set the backend
service name and backend cluster name (which we don't do yet).
@dirkmueller dirkmueller force-pushed the cinder_volume_ha_rework branch from 809b53b to abeca01 Compare February 5, 2017 00:24
"cluster:#{CrowbarPacemakerHelper.cluster_name(node)}"
)
backend_host = CrowbarPacemakerHelper.cluster_vhostname(node)
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to explicitly have backend_host set to nil. We can just rewrite:

backend_host = if CrowbarPacemakerHelper.cluster_enabled?(node) &&
    node[:cinder][:elements]["cinder-volume"].include?(
        "cluster:#{CrowbarPacemakerHelper.cluster_name(node)}"
    )
  CrowbarPacemakerHelper.cluster_vhostname(node)
end

default[:cinder][:verbose] = false
default[:cinder][:max_header_line] = 16384
default[:cinder][:config_file] = "/etc/cinder/cinder.conf.d/100-cinder.conf"
default[:cinder][:config_file_cinder_volume] = "/etc/cinder/cinder-volume.conf.d/100-cinder-volume.conf"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we remove this file from the filesystem, for people who had deployed things before this patch?

@aspiers
Copy link
Member

aspiers commented Mar 27, 2019

Should this be closed or revived?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

5 participants